package com.ybwh.springboot2;

import com.ybwh.springboot2.common.conf.Knife4jConfiguration;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  构造器注入
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2023/3/2 17:02
 */
@Component
public class myConstruct  {
    Knife4jConfiguration knife4jConfiguration;

    /**
     * 有构造器默认构造器注入
     *
     * @param knife4jConfiguration
     */
    public myConstruct(Knife4jConfiguration knife4jConfiguration) {
        System.out.println("--------------------myConstruct-----------------------------");

        this.knife4jConfiguration = knife4jConfiguration;
    }


}
